import {getCurrentUser, getCurrentPath, getMenuList, getNavigateTreeData} from './tool'

const state = {
  menuList: getMenuList(),
  navigateTreeData: getNavigateTreeData(),
  currentUser: getCurrentUser({
    id: null,
    token: null,
    name: null
  }),
  currentPath: getCurrentPath()
}
export default state
